package com.coding.controller;


import com.coding.dto.RestBean;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.Console;


/**
 * 1、查询好友
 * 2、选择好友
 * 3、发送请求
 * 4、发送给好友
 * 5、MQ定时存储分享数据
 */
@RestController
@RequestMapping("/share")
public class VideoShareController {


    public RestBean shareVideo(Long userId, Long shareUserId,Long videoId){

        System.out.println("userId: " + userId);
        System.out.println("shareUserId: " + shareUserId);
        System.out.println("VideoId: " + videoId);

        return RestBean.success("分享成功！");
    }


}
